<?php 
 
namespace app\common\model;

use app\common\model\BaseModel;
use app\common\traits\ModelTrait;
use app\common\utils\JsonService;
/**
* This is the model class for table "{ptf_adv}".
*
* @property int $id 广告自增标识编号 
* @property int $ap_id 广告位id 
* @property string $adv_title 广告内容描述
* @property string $adv_url 链接地址
* @property string $adv_image 广告内容图片
* @property int $slide_sort 幻灯片排序 
*/
class Adv extends BaseModel{

    protected $pk = 'id';
    protected $name = 'adv';

    use ModelTrait;
    protected $autoWriteTimestamp = true;
    //protected $dateFormat = 'Y-m-d';
    //protected $createTime = 'create_time';
    //protected $updateTime = 'update_time';

    /**
    * {@inheritdoc}
    */
    public function attributeLabels()
    {
        return [
            'id' => '广告自增标识编号',
            'ap_id' => '广告位id',
            'adv_title' => '广告内容描述',
            'adv_url' => '链接地址',
            'adv_image' => '广告内容图片',
            'slide_sort' => '幻灯片排序',
        ];
    }

}


?>